package oop.lab.domain.game;

import oop.lab.domain.board.Location;
import oop.lab.domain.board.PieceColor;

public interface Game {

    String getGameType();

    boolean isOver();

    PieceColor getWinner();

    PieceColor getCurrentPlayer();

    boolean placePiece(Location loc);

    default boolean placePiece(int x, int y) {
        return placePiece(Location.of(x, y));
    }

}
